package com.qingmu.club.minaapi.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 成长学堂主表
 * </p>
 *
 * @author duke
 * @since 2019-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GrowCollege extends Model<GrowCollege> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 分类id
     */
    private String categoryId;

    /**
     * 分类名称
     */
    private String categoryName;

    /**
     * 学堂标题
     */
    private String growTitle;

    /**
     * 学堂名称
     */
    private String growName;

    /**
     * 学堂视频
     */
    private String growVideo;

    /**
     * 学堂音频
     */
    private String growVoice;

    /**
     * 0轮滑专业知识 1沟通情商及领导力
     */
    private Integer growType;

    /**
     * 学堂详情
     */
    private String growIntro;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 学堂图片
     */
    private String growImage;

    /**
     * 题目数量
     */
    private Integer itemTotal;

    /**
     * 题目总分
     */
    private Double itemScore;

    /**
     * 题平均得分
     */
    private Double itemAvgScore;

    /**
     * 题目形式
     */
    private String itemForm;

    /**
     * 每题回答时间(秒)
     */
    private Integer itemAnswerTime;

    /**
     * 每人参加次数
     */
    private Integer examNum;

    /**
     * 考试说明
     */
    private String examDesc;

    /**
     * 俱乐部id
     */
    private String clubId;

    /**
     * 0-下架 1-上架
     */
    private Integer status;


    public static final String ID = "id";

    public static final String CATEGORY_ID = "category_id";

    public static final String CATEGORY_NAME = "category_name";

    public static final String GROW_TITLE = "grow_title";

    public static final String GROW_NAME = "grow_name";

    public static final String GROW_VIDEO = "grow_video";

    public static final String GROW_VOICE = "grow_voice";

    public static final String GROW_TYPE = "grow_type";

    public static final String GROW_INTRO = "grow_intro";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER = "create_user";

    public static final String GROW_IMAGE = "grow_image";

    public static final String ITEM_TOTAL = "item_total";

    public static final String ITEM_SCORE = "item_score";

    public static final String ITEM_AVG_SCORE = "item_avg_score";

    public static final String ITEM_FORM = "item_form";

    public static final String ITEM_ANSWER_TIME = "item_answer_time";

    public static final String EXAM_NUM = "exam_num";

    public static final String EXAM_DESC = "exam_desc";

    public static final String CLUB_ID = "club_id";

    public static final String STATUS = "status";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
